<?php

namespace Home\Controller;

/**
 * Description of TestController
 *
 * @author 阿明 symphp@foxmail.com
 */
class TestController extends \Think\Controller{
    /**
     * 发送短信
     */
    public function sendSMS(){
        sendSMS('18523669620',['code'=>(string)1033,'product'=>'测试哈哈']);
    }
   
    /**
     * 发送邮件
     */
    
    public function sendEmail(){
        sendMail('11111', 'test', '测试');
}
    
    public function info(){
        dump(phpinfo());
    }
    
    public function session(){
        session('name',123);
    }

}